F<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- 引入 Bootstrap -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<script src="js/jquery-3.1.1.min.js" type="text/javascript"
	charset="utf-8"></script>
<script src="js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
	<table class="table table-hover">
		<thead>
			<tr>
				<th>学年</th>
				<th>学期</th>
				<th>课程名称</th>
				<th>任课教师</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${lessons }" var="e">
				<tr>
					<td>${e.fSchoolYear }</td>
					<td>${e.fSchoolTerm }</td>
					<td>${e.fClassName }</td>
					<td>${e.fTeacher }</td>
					<td><a
						href="courseAction!delete.action?fClassNumber=${e.fClassNumber }"
						class="seebox">删除</a>| <a href="#" data-toggle="modal"
						data-target="#myaddModal">反馈</a> <!--添加模态框开始-->
						<div class="modal fade" id="myaddModal" tabindex="-1"
							role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
							<div class="modal-dialog">
								<div class="modal-content">
									<div class="modal-header">
										<button type="button" class="close" data-dismiss="modal"
											aria-hidden="true">&times;</button>
										<h4 class="modal-title" id="myModalLabel">添加反馈</h4>
									</div>
									<div class="modal-body feedbackH">
										<div class="col-md-11">
											<form
												class="form-horizontal templatemo-container templatemo-contact-form-2"
												role="form" action="feedAction!add.action" method="post">
												<div class="row">
													<div class="col-md-12">
														<h5>课程信息</h5>
														<div class="form-group">
															<div class="col-sm-12">
																<input type="text" class="form-control" name="classNum"
																	placeholder="教学班编号">
															</div>
														</div>
														<div class="form-group">
															<div class="col-md-12">
																<input type="text" class="form-control" name="lesson"
																	placeholder="课程名称">
															</div>
														</div>
														<div class="form-group">
															<div class="col-md-12">
																<input type="text" class="form-control" name="teacher"
																	placeholder="教师姓名">
															</div>
														</div>
														<div class="form-group">
															<div class="col-md-12">
																<input type="text" class="form-control" name="weekTime"
																	placeholder="周次">
															</div>
														</div>
														<div class="form-group">
															<div class="col-sm-12">
																<input type="text" class="form-control" name="time"
																	placeholder="时间">
															</div>
														</div>
														<h5>问题反馈</h5>
														<div class="form-group">
															<div class="col-md-12">
																<input type="text" class="form-control" name="schedule"
																	placeholder="时间安排">
															</div>
														</div>
														<div class="form-group">
															<div class="col-md-12">
																<input type="text" class="form-control"
																	name="classSitutation" placeholder="上课情况">
															</div>
														</div>
														<div class="form-group">
															<div class="col-md-12">
																<input type="text" class="form-control"
																	name="classEfect" placeholder="课堂效果">
															</div>
														</div>
														<div class="form-group">
															<div class="col-md-12">
																<input type="text" class="form-control"
																	name="afterClassSitu" placeholder="下课情况">
															</div>
														</div>

														<div class="form-group">
															<div class="col-md-12">
																<input type="text" class="form-control" name="advice"
																	placeholder="意见建议">
															</div>
														</div>
														<div class="form-group">
															<div class="col-md-12">
																<input type="text" class="form-control" name="memo"
																	placeholder="备注">
															</div>
														</div>
													</div>
												</div>
											</form>
										</div>
									</div>

									<div class="modal-footer">
										<div class="form-group">
											<div class="col-md-12">
												<input type="submit" value="提交"
													class="btn btn-success pull-right">
											</div>
										</div>

									</div>

								</div>
								<!-- /.modal-content -->
							</div>
							<!-- /.modal -->
						</div> <!--添加模态框结束--></td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>